//
//  GRReturnReasonView.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/7/24.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GRReturnResonModel.h"

@protocol GRReturnReasonViewDelegate <NSObject>
@optional
-(void)returnGoodReson:(GRReturnResonModel*)resonModel IsReturnGood:(BOOL)isReturnGood;

-(void)submitCancleReason:(NSString *)reson OrderId:(NSInteger)orderId sCancle:(BOOL)isCancle;
@end
@interface GRReturnReasonView : UIView<UITableViewDataSource,UITableViewDelegate>
@property(nonatomic,strong)NSMutableArray * dataSourceArr;

+(void)showGoodView:(id <GRReturnReasonViewDelegate>) delegate  IsReturnGood:(BOOL)isReturnGood;
+(void)showGoodView:(id <GRReturnReasonViewDelegate>) delegate  DataSource:(NSMutableArray *)dataSourceArr  OrderId:(NSInteger)orderId IsRiceOrder:(BOOL)isRiceOrder IsCancle:(BOOL)isCancle;

@end
